package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_PartnerWbAccount", catalog="Id")
public class TCW_PartnerWbAccount extends BaseEntity<TCW_PartnerWbAccount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="BusinessCode", nameJava="businessCode", typeDataBase="varchar")
	private String businessCode;
	@YsField(nameDataBase="PartnerInfo", nameJava="partnerInfo", typeDataBase="varchar")
	private String partnerInfo;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="ExchangeRateId", nameJava="exchangeRateId", typeDataBase="bigint")
	private Long exchangeRateId;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vaba", nameJava="vaba", typeDataBase="varchar")
	private String vaba;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="SwiftCode", nameJava="swiftCode", typeDataBase="varchar")
	private String swiftCode;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TCW_PartnerWbAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TCW_PartnerWbAccount setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TCW_PartnerWbAccount setName(String name) {
		this.name = name;
		return this;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public TCW_PartnerWbAccount setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
		return this;
	}
	public String getPartnerInfo() {
		return partnerInfo;
	}
	public TCW_PartnerWbAccount setPartnerInfo(String partnerInfo) {
		this.partnerInfo = partnerInfo;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public TCW_PartnerWbAccount setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public Long getExchangeRateId() {
		return exchangeRateId;
	}
	public TCW_PartnerWbAccount setExchangeRateId(Long exchangeRateId) {
		this.exchangeRateId = exchangeRateId;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TCW_PartnerWbAccount setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TCW_PartnerWbAccount setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVaba() {
		return vaba;
	}
	public TCW_PartnerWbAccount setVaba(String vaba) {
		this.vaba = vaba;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TCW_PartnerWbAccount setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getSwiftCode() {
		return swiftCode;
	}
	public TCW_PartnerWbAccount setSwiftCode(String swiftCode) {
		this.swiftCode = swiftCode;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TCW_PartnerWbAccount setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TCW_PartnerWbAccount setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TCW_PartnerWbAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TCW_PartnerWbAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TCW_PartnerWbAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TCW_PartnerWbAccount tCW_PartnerWbAccount(
		String code,
		String name,
		String businessCode,
		String partnerInfo,
		String countryCode,
		Long exchangeRateId,
		String vyhzhmc,
		String vkhh,
		String vaba,
		String vyhzh,
		String swiftCode,
		String vbz,
		String createChangeId,
		Integer status
			) {
		TCW_PartnerWbAccount entity = new TCW_PartnerWbAccount();
		entity.setCode(code);
		entity.setName(name);
		entity.setBusinessCode(businessCode);
		entity.setPartnerInfo(partnerInfo);
		entity.setCountryCode(countryCode);
		entity.setExchangeRateId(exchangeRateId);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVkhh(vkhh);
		entity.setVaba(vaba);
		entity.setVyhzh(vyhzh);
		entity.setSwiftCode(swiftCode);
		entity.setVbz(vbz);
		entity.setCreateChangeId(createChangeId);
		entity.setStatus(status);
		return entity;
	}
}